package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.SystemMsg;
import cn.wolfcode.trip.base.query.SystemMsgQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface SystemMsgMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SystemMsg record);

    SystemMsg selectByPrimaryKey(Long id);

    List<SystemMsg> selectAll();

    int updateByPrimaryKey(SystemMsg record);

    int notSystems(Long userId);

    void updateIsViewed(Long userId);

    List<SystemMsg> query(SystemMsgQueryObject qo);
}